<#include "/includes/vars.inc">
<@pp.dropOutputFile />
<#assign fileName = "${javaDir}${packageDir}/web/support/CredentialsController.java">
<#if includeLoginJsf && !pp.outputFileExists(fileName)>
	<@pp.changeOutputFile name="${fileName}" />
		
package ${project.@rootPackage}.web.support;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

/**
 * CreadentialsController
 * <#if project.@author[0]??>@author ${project.@author}</#if>
 */
@Controller 
@Scope("request")
public class CredentialsController {

    private String login;
    private String password;

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
}
</#if>
